package com.jnevision.handclap.service;

import org.springframework.stereotype.Service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.jnevision.common.CommonQuery;
import com.jnevision.handclap.mapper.HandClapMapper;
import com.jnevision.handclap.model.HandClap;

/**
 * <p>
 * 随手拍 服务实现类
 * </p>
 *
 * @author gavin
 * @since 2019-07-16
 */
@Service
public class HandClapServiceImpl extends ServiceImpl<HandClapMapper, HandClap> {
    public IPage<HandClap> page(Page<HandClap> page, CommonQuery query) {
        return this.baseMapper.page(page, query);
    }

    public IPage<HandClap> pageDistributed(Page<HandClap> page, CommonQuery query) {
        return this.baseMapper.pageDistributed(page, query);
    }
}
